package net.publicutilities.service.implementation;

import net.publicutilities.domain.*;
import net.publicutilities.service.interfaces.*;

import java.util.List;

/**
 * Created by Роман on 13.10.2014.
 */
public class Admin implements RegisterUser, AdminUser, RequestCRUD, Workplans, FormatBrigade{
    private List<WorkersTable> workersList;
    private List<UsersTable> usersList;
    private List<RequestsTable> requestList;
    private WorkplanTable workplan;
    private List<BrigadesTable> brigadesList;

    @Override
    public void deleteProfile(UsersTable user) {

    }

    @Override
    public void editProfile(UsersTable user, UsersTable newUser) {

    }

    @Override
    public void logOut(UsersTable user) {

    }

    @Override
    public List<UsersTable> getUsers() {
        return usersList;
    }

    @Override
    public void editWorkerProfile(WorkersTable worker, WorkersTable newWorker) {

    }

    @Override
    public void addWorkerProfile(WorkersTable worker) {

    }

    @Override
    public void deleteWorkerProfile(WorkersTable worker) {

    }

    @Override
    public void editUserRole(UsersTable user) {

    }

    @Override
    public void changeRequestState(RequestsTable request) {

    }

    @Override
    public List<WorkersTable> getWorkers() {
        return workersList;
    }

    @Override
    public void addRequest(RequestsTable request) {

    }

    @Override
    public void deleteRequest(RequestsTable request) {

    }

    @Override
    public List<RequestsTable> getRequests() {
        return requestList;
    }

    @Override
    public void addWorkerToBrigade(WorkersTable worker, BrigadesTable brigade) {

    }

    @Override
    public void deleteWorkerFromBrigade(WorkersTable worker, BrigadesTable brigade) {

    }

    @Override
    public List<BrigadesTable> getBrigades() {
        return brigadesList;
    }

    @Override
    public void addRequestToPlan(RequestsTable request) {

    }

    @Override
    public void deleteRequestToPlan(RequestsTable request) {

    }

    @Override
    public WorkplanTable getWorkplan() {
        return workplan;
    }
}
